// node 中间层

interface Prams {
  userid: string,
  orderId: string,
  isFeature: boolean,
  pagination: {}
}

export function searchApi(param?: string) {
  return new Promise<string[]>(async (resolve, reject) => {
    // 请求一个接口
    // 
    await xxx

    await xxx


    if (isFeature) {
      xxxx
    }

    resolve(data)
  })
}